package com.summer.springboot.ex.std.service;

import com.summer.springboot.ex.std.enums.CustomExceptionType;
import com.summer.springboot.ex.std.exception.CustomException;
import com.summer.springboot.ex.std.vo.UserVo;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {


    @Override
    public void save(UserVo userVo) throws CustomException {
        throw new CustomException(CustomExceptionType.SYSTEM_ERROR,"手动抛出了一个异常信息");
    }
}
